package per.mnxc.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author mnxc
 * @since 2022-11-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tbl_totany")
public class Totany implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 植物信息id
     */
    @TableId(value = "TotanyInfoID", type = IdType.AUTO)
    private Long totanyId;

    /**
     * 植物名称
     */
    @TableField("TotanyName")
    private String totanyName;

    /**
     * 植物别名
     */
    @TableField("AnotherName")
    private String anotherName;

    /**
     * 植物信息发布时间
     */
    @TableField("LuchTime")
    private LocalDateTime luchTime;

    /**
     * 植物内容
     */
    @TableField("TotancyContent")
    private String totancyCont;

    /**
     * 管理员id
     */
    @TableField("AdminID")
    private Long adminId;

    /**
     * 逻辑假删
     */
    @TableLogic
    private Integer deleted;

    /**
     * 乐观锁
     */
    @Version
    private Integer version;


}
